﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.Entity.Systems
{
    /// <summary>
    /// 上传的图片
    /// </summary>
    [SugarTable("t_upload")]
    public class UploadFile
    {
        /// <summary>
        /// 文件ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int file_id { get; set; }
        /// <summary>
        /// 店铺id
        /// </summary>
        public int store_id { get; set; }
        /// <summary>
        /// 文件类型(10图片 20附件 30视频,40 支付证书)
        /// </summary>
        public int file_type { get; set; }
        /// <summary>
        /// 文件相对路径
        /// </summary>
        public string file_path { get; set; }
        /// <summary>
        /// 文件大小(字节)
        /// </summary>
        public int file_size { get; set; }
        /// <summary>
        /// 是否删除: 0 未删, 1 已删除
        /// </summary>
        public int is_delete { get; set; }
        public DateTime create_time { get; set; }
    }
}
